package com.hdax.easybuy.dao;

import com.hdax.easybuy.entity.OrderDetail;
import com.hdax.easybuy.entity.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrderDetailDao extends JpaRepository<OrderDetail,Integer> {
    //根据订单表中的id查询订单详情中信息
    public List<OrderDetail> findByOrderId(int orderId);


}
